package com.sample.videocollection.entity;

import java.io.Serializable;

import io.objectbox.annotation.Entity;
import io.objectbox.annotation.Id;

@Entity
public class DBWebEntity implements Serializable {
    @Id
    long id;
    private String baseUrl;

    private String searchUrl;

    private String title;

    public DBWebEntity(long id, String baseUrl, String searchUrl, String title) {
        this.id = id;
        this.baseUrl = baseUrl;
        this.searchUrl = searchUrl;
        this.title = title;
    }

    public DBWebEntity() {
    }

    public void setBaseUrl(String baseUrl){
        this.baseUrl = baseUrl;
    }
    public String getBaseUrl(){
        return this.baseUrl;
    }
    public void setSearchUrl(String searchUrl){
        this.searchUrl = searchUrl;
    }
    public String getSearchUrl(){
        return this.searchUrl;
    }
    public void setTitle(String title){
        this.title = title;
    }
    public String getTitle(){
        return this.title;
    }

}
